package com.heimali.sf.config;

public class Constants {

	// 默认渠道号
	public final static int DEFAULT_PID = 10001; // 默认渠道号
	public final static int MOBILE_HELPER_PID = 10010; // 360手机助手渠道

	public final static double DEFAULT_REBATE = 1.0;
	public final static String DEFAULT_PROPERTY_FEE = "50";
	public final static String DEFAULT_DAMAGES_FEE = "300";
	public final static String DEFAULT_DIVORCE_FEE = "200";

	// share preferences
	public final static String SP_HAS_SHORTCUT = "has_shortcut";

	public final static String SP_DEFAULT_REBATE = "default_rebate";
	public final static String SP_DEFAULT_PROPERTY_FEE = "default_property_fee";
	public final static String SP_DEFAULT_DAMAGES_FEE = "default_damages_fee";
	public final static String SP_DEFAULT_DIVORCE_FEE = "default_divorce_fee";
	
	public static final String UPDATE_URL = "http://dl.heimali.com/sf/update_check.html";
	
	/** error constants **/
	public static final int E_UNKNOWN_ERROR = 10000;
	public static final int E_NETWORK_NOT_AVAILABLE = 10001;
	public static final int E_SERVER_BUSY = 10002;
	
	/** common config **/
	public static final String COMMON_CONFIG_LAST_CHECK_UPDATE_TIME = "last_check_update_time";
	
	/** log toggle**/
	public static final boolean IS_DEBUG = true;
}
